<template>
  <div id="app">
    <nav>
      <router-link to="/shouye">首页</router-link> 
      <router-link to="/baobaotuan">爆爆团</router-link>
      <router-link to="/dindang">订单</router-link>
      <router-link to="/wode">我的</router-link>
    </nav>
    <router-view/>
  </div>
</template>

<style>
*{
  margin: 0;padding: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  /* padding: 30px; */
  display: flex;
  justify-content: space-around;
  position: fixed;
  bottom: 0;
  background-color: aliceblue;
  border-top: 1px solid gray;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
  margin: 10px 22px;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
